import type { Banner } from '@/types/home'
import { http } from '@/utils/http'

// 首页-banner-获取banner广告接口
export const getHomeBannerAPI = () => {
  return http<Banner[]>({
    method: 'GET',
    url: '/api/banner/listBanner',
  })
}
